<template>
  <view class="select-wrap">
    <view class="tab-list second-list" style="background: url('/static/image/pink_bg.png') no-repeat">
      <view class="tab-item">
        <view class="tab-txt"> 爆品专区 </view>
        <image src="/static/image/red_line.png" class="white-line"></image>
      </view>
      <view class="tab-item">
        <view class="tab-txt"> 品牌严选 </view>
        <!-- <image src="/static/image/white_line.png"  class="white-line"></image> -->
      </view>
      <view class="tab-item">
        <view class="tab-txt"> 达人推荐 </view>
        <!-- <image src="/static/image/white_line.png"  class="white-line"></image> -->
      </view>
    </view>
    <view class="container">
      <view class="column left-column">
        <view class="item">
          <image src="/static/image/swiper_bg.png" class="swiper-bg"></image>
          <view class="swiper-txt">MAS氨基酸界面泡沫MAS氨基酸界面泡沫</view>
          <view class="swiper-txt2">品牌精选好物</view>
          <view class="bottom-box">
            <view class="sale-price">¥108.00</view>
            <view class="red-btn">
              <image src="/static/image/img21.png" class="window-img"></image>
              <text>加橱窗</text>
            </view>
          </view>
        </view>
      </view>
      <view class="column right-column">
        <view class="item">
          <image src="/static/image/swiper_bg.png" class="swiper-bg"></image>
          <view class="swiper-txt">MAS氨基酸界面泡沫MAS氨基酸界面泡沫</view>
          <view class="swiper-txt2">品牌精选好物</view>
          <view class="bottom-box">
            <view class="sale-price">¥108.00</view>
            <view class="red-btn">
              <image src="/static/image/img21.png" class="window-img"></image>
              <text>加橱窗</text>
            </view>
          </view>
        </view>
      </view>
    </view>
    <view class="bottom-content">
      <view class="total-price">
        共<text>46</text>件商品
      </view>
      <view class="bottom-btn">一键加入橱窗</view>
    </view>
  </view>
</template>
<script>
</script>
<style scoped>
.select-wrap {
  background: #f5f5f5;
}
.tab-list {
  display: flex;
  justify-content: start;
}
.tab-item {
  flex: 1;
  text-align: center;
  height: 86rpx;
  line-height: 86rpx;
  position: relative;
}
.white-line {
  width: 30rpx;
  height: 12rpx;
  position: absolute;
  left: 50%;
  top: 90%;
  margin-left: -30rpx;
}
.top-box {
  height: 300rpx;
}
.clearfix {
  display: block;
  content: "";
  clear: both;
}
.second-list {
  display: flex;
  justify-content: start;
  /* background: url("/static/image/pink_bg.png"); */
  background-size: 750rpx 104rpx;
  width: 750rpx;
  height: 104rpx;
}

.swiper-txt {
  margin: 0 20rpx;
}
.swiper-bg {
  width: 100%;
}

.sale-price {
  font-size: 40rpx;
  color: #D40000;
  font-weight: 600;
}



.container {
  display: flex;
  flex-direction: row;
  gap: 10rpx;
}
.column {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* gap: 15px; */
}
.item {

  height: 680rpx;
  background: #fff;
  border-radius: 20rpx;
}


.swiper-txt2 {
  font-size: 24rpx;
  color: #999;
  text-indent: 20rpx;
  margin: 10rpx 0;
}

.bottom-box {
  display: flex;
  justify-content: space-between;
  margin: 0 20rpx;
}

.bottom-box view {
  
}

.red-btn {
  background: #D40000;
  width: 160rpx;
  height: 64rpx;
  line-height: 64rpx;
  border-radius: 32rpx;
  margin-left: 10rpx;
  text-align: center;
  font-size: 26rpx;
  font-weight: 600;
  color: #fff;
}

.window-img {
  width: 36rpx;
  height: 36rpx;
  vertical-align: middle;
  margin-right: 10rpx;
}

.left-column {
  margin-left: 10rpx;
}

.right-column {
  margin-right: 10rpx;
}

.bottom-content {
  background: #fff;
  width: 100%;
  height: 164rpx;
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  line-height: 140rpx;
}

.bottom-btn {
  width: 340rpx;
  height: 90rpx;
  line-height: 90rpx;
  background: #D40000;
  text-align: center;
  font-size: 32rpx;
  color: #fff;
  border-radius: 45rpx;
  margin: 20rpx 20rpx 0 0;
}

.total-price {
  text-indent: 20rpx;
  font-size: 28rpx;
  color: #333;
  font-weight: 700;
}

.total-price text{
  color: #D40000;
}
</style>